export const loadingType = {
	LOADING: 'loading',
	FINISHED: 'finished',
	ERROR: 'error',
	EMPTY: 'empty'
};



//支付方式
export const payWay = {
	WECHAT: 1,
	BALANCE: 3
}

export const orderType = {
	ALL: 'all',
	//全部
	PAY: 'pay',
	//待付款
	DELIVERY: 'delivery',
	//待发货
	RECEIVE: 'receive',
	//待收货
	PICKING: 'picking',
	//待自提
	FINISH: 'finish',
	//待收货
	CLOSE: 'close',
	//待收货
	AFTERSALES: 'aftersales',
	//售后/退款


};
// 售后状态
export const afterSaleType = {
	// 售后申请 
	NORMAL: 'normal',
	// 处理中
	HANDLING: 'apply',
	// 已处理
	FINISH: 'finish'
}

// 售后退款操作
export const refundOptType = {
	// 仅退款
	ONLY_REFUND: 0,
	// 退货退款
	REFUNDS: 1
}

// 短信发送
export const SMSType = {
	// 注册
	REGISTER: 'ZCYZ',
	// 找回密码
	FINDPWD: 'ZHMM',
	// 登陆
	LOGIN: 'YZMDL',
	// 更换手机号
	CHANGE_MOBILE: 'BGSJHM',
	// 绑定手机号
	BIND: 'BDSJHM',
	// 商家入驻申请验证	
	SJSQYZ: 'SJSQYZ'
}

// 分销订单状态
export const distributionOrder = {
	ALL: 0,
	WAIT_RETURN: 1,
	HANDLED: 2,
	INVALED: 3
}

// 排序类型
export const sortType = {
	NONE: '',
	ASC: 'asc',
	DESC: 'desc'
}


export const groupType = {
	ALL: -1,
	PROGESS: 0,
	SUCCESS: 1,
	FAIL: 2
};

export const bargainType = {
	ALL: -1,
	BARGINNING: 0,
	SUCCESS: 1,
	FAIL: 2
}

// 发票类型
export const invoiceType = {
	SETTLEMENT: 0,
	ORDERDETAILEdit: 1,
	ORDERDETAILADD: 2
}